<el-header class="theme-background-color1" style="color: #fff; line-height: 60px; font-size: 12px;">
    <el-button @click="onClickBack()" size="small"><i class="el-icon-arrow-left"></i>&nbsp;返回</el-button>
    <div style="float: right;width: 600px;">
        <el-row type="flex" class="row-bg" justify="end">
            <el-col :span="3">管理员
            </el-col>
            <el-col :span="3"><el-button type="text" @click="logout()">登出</el-button>
            </el-col>
        </el-row>
    </div>
</el-header>
<script type="text/javascript">
function onClickBack() {
    // MtaH5.clickStat("click_back")
    window.history.back()
}

function logout() {
    window.location.href = "/lx/admin/auth/logout";
}

// function onChangePwd() {
//     MtaH5.clickStat("change_pwd")
//     var pPattern = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,16}$/;
//     var key = "4ep18o2t5kkopx2r";
//     var self = this
//     vue.$prompt('请填写密码,6到16位（字母，数字)', '修改密码', {
//         confirmButtonText: '确定',
//         cancelButtonText: '取消',
//         inputPattern: pPattern,
//         inputErrorMessage: '密码格式不正确'
//     }).then(({ value }) => {
//         console.log(value)


//         var param = {
//             password: aes(key, value),
//         }
//         console.log(param)
//         var url = '/lx/admin/changePassword';
//         var success = function(data) {
//             console.log(data)
//         }

//         var fail = function() {
//             alert('修改失败')

//         }

//         var complete = function() {}
//         // axiosRequestPro()
//         axiosRequestPro(param, url, success, fail, complete)
//     });
// }
</script>